Previous Book Contents Book Index Next

Inside Macintosh: Programming With MRJToolkit /
Chapter 2 - MRJToolkit Reference / The MRJApplicationUtils Class
Methods /


registerAboutHandler

Registers the handler method to be called when the About menu item is selected.

public static final void registerAboutHandler (
                     MRJAboutHandler handler);
handler
The name of the object that implements the handleAbout method.
DISCUSSION
You must have defined the handler method before calling this method. If you do not register the handler method, selecting the About menu item does nothing.

The default About menu item included in the Apple menu, while usable, should be replaced to conform to Apple's human interface guidelines; you do so by defining a new menu (in a resource of type 'MENU' with ID 1128) when you package your application.

SEE ALSO
The handleAbout method (page 47).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 NOV 1997